-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.3.5 (latest)
-
Code
-
Classes
- AdminNoticesController
| Total Complexity |
88 |
| Dependencies |
6 |
| Dependents |
12 |
| Total lines |
556 |
| Lines of code |
351 |
| Logical lines of code |
186 |
| Comment lines |
67 |
| Methods |
26 |
| Properties |
6 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| parse_readme_content() |
A |
44 |
15 |
45 |
| doRemoteNotices() |
A |
47 |
11 |
37 |
| displayNotices() |
A |
45 |
10 |
45 |
| proposeUpgradeRemote() |
S |
47 |
6 |
34 |
| get_update_notice() |
S |
54 |
6 |
21 |
| get_remote_notices() |
S |
49 |
5 |
31 |
| __construct() |
S |
60 |
3 |
12 |
| parse_update_notice() |
S |
61 |
3 |
12 |
| pluginUpdateMessage() |
S |
62 |
3 |
11 |
| check_admin_notices() |
S |
68 |
3 |
8 |
| initNotices() |
S |
58 |
2 |
15 |
| invokeLegacyNotice() |
S |
68 |
3 |
7 |
| markdown2html() |
S |
60 |
2 |
14 |
| getInstance() |
S |
73 |
2 |
5 |
| loadNotices() |
S |
70 |
2 |
7 |
| getNoticeByKey() |
S |
67 |
2 |
9 |
| resetAllNotices() |
S |
81 |
1 |
3 |
| resetOldNotices() |
S |
72 |
1 |
6 |
| resetCompatNotice() |
S |
80 |
1 |
3 |
| resetAPINotices() |
S |
74 |
1 |
5 |
| resetQuotaNotices() |
S |
74 |
1 |
5 |
| resetIntegrationNotices() |
S |
80 |
1 |
3 |
| resetLegacyNotice() |
S |
80 |
1 |
3 |
| isSilentMode() |
S |
82 |
1 |
3 |
| getAllNotices() |
S |
82 |
1 |
3 |
| proposeUpgradePopup() |
S |
76 |
1 |
4 |